package org.example.controller.pojo;

public class JsonSuccessResponse<E> {
    private Integer code = 1;
    private E data;

    public JsonSuccessResponse(E data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public E getdata() {
        return data;
    }

    public void setdata(E data) {
        this.data = data;
    }
}
